package com.ruoyi.project.system.service;

import java.util.List;

import com.ruoyi.framework.web.domain.AjaxResult;
import com.ruoyi.project.system.domain.SysReceive;

/**
 * 领取Service接口
 *
 * @author theme
 * @date 2021-04-20
 */
public interface ISysReceiveService
{
    /**
     * 查询领取
     *
     * @param receiveId 领取ID
     * @return 领取
     */
    public SysReceive selectSysReceiveById(Long receiveId);

    /**
     * 查询领取列表
     *
     * @param sysReceive 领取
     * @return 领取集合
     */
    public List<SysReceive> selectSysReceiveList(SysReceive sysReceive);

    /**
     * 新增领取
     *
     * @param sysReceive 领取
     * @return 结果
     */
    public int insertSysReceive(SysReceive sysReceive);

    public AjaxResult insertSysReceiveData(SysReceive sysReceive);


    public AjaxResult insertSysReceiveDataDisable(SysReceive sysReceive);

    /**
     * 修改领取
     *
     * @param sysReceive 领取
     * @return 结果
     */
    public int updateSysReceive(SysReceive sysReceive);

    /**
     * 批量删除领取
     *
     * @param receiveIds 需要删除的领取ID
     * @return 结果
     */
    public int deleteSysReceiveByIds(Long[] receiveIds);

    /**
     * 删除领取信息
     *
     * @param receiveId 领取ID
     * @return 结果
     */
    public int deleteSysReceiveById(Long receiveId);


    public AjaxResult valid(SysReceive sysReceive,Boolean flag);
    public AjaxResult validDisable(SysReceive sysReceive,Boolean flag);

    public int updateSysReceiveData(SysReceive sysReceive);
}
